package com.ctshk.rpc.cms.enums;

import java.util.Arrays;
import java.util.List;

public enum SingleItemType {

    /**
     * 首页单项枚举
     */
    LOCALFUN(0,"当地玩乐","https://tva1.sinaimg.cn/large/008i3skNgy1gs0fg7nixfj301o01odfp.jpg"),
    TOUR(1,"旅行团","https://tva1.sinaimg.cn/large/008i3skNgy1gs0fgfl3nij301o01ot8l.jpg"),
    HOTEL(2,"酒店","https://tva1.sinaimg.cn/large/008i3skNgy1gs0fguc1u3j301o01o745.jpg"),
    SEASON(3,"套票","https://tva1.sinaimg.cn/large/008i3skNgy1gs0fgmcuuwj301o01oa9x.jpg"),
    AIR(4,"机票","https://tva1.sinaimg.cn/large/008i3skNgy1gs0fh3nyfwj301o01oa9x.jpg"),
    TRAIN(5,"火车票","https://tva1.sinaimg.cn/large/008i3skNgy1gs0fhemmqkj301o01odfp.jpg"),
    SHIP(6,"船票","https://tva1.sinaimg.cn/large/008i3skNgy1gs0fha85e4j301o01odfp.jpg"),
    BUS(7,"巴士","https://tva1.sinaimg.cn/large/008i3skNgy1gs0fgptqihj301o01o0sl.jpg"),
    SCENIC(8,"门票","https://tva1.sinaimg.cn/large/008i3skNgy1gs0fh0wnexj301o01owec.jpg"),
    SEARCH(-1,"未完全匹配时icon","https://tva1.sinaimg.cn/large/008i3skNgy1gs0j3v763bj301c01cq2p.jpg")
    ;

    private Integer code;
    private String msg;
    private String img;

    SingleItemType(Integer code, String msg,String img) {
        this.code = code;
        this.msg = msg;
        this.img = img;
    }

    public Integer getCode() {
        return this.code;
    }

    public String getImg() {
        return this.img;
    }


    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static List<SingleItemType> getItemList(){
        return Arrays.asList(SingleItemType.values());
    }


}
